//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01B
TN_Widget.CreateTable([['Stereophonic','John Golden Theatre','New York, NY','Tuesday','5/21/2024','7:00 PM','6230322','Stereophonic-5-21-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','5/22/2024','7:00 PM','6230327','Stereophonic-5-22-2024'],['Stereophonic','John Golden Theatre','New York, NY','Thursday','5/23/2024','7:00 PM','6230337','Stereophonic-5-23-2024'],['Stereophonic','John Golden Theatre','New York, NY','Friday','5/24/2024','7:00 PM','6230342','Stereophonic-5-24-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','5/25/2024','1:00 PM','6230351','Stereophonic-5-25-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','5/25/2024','7:00 PM','6230347','Stereophonic-5-25-2024'],['Stereophonic','John Golden Theatre','New York, NY','Sunday','5/26/2024','2:00 PM','6230319','Stereophonic-5-26-2024'],['Stereophonic','John Golden Theatre','New York, NY','Tuesday','5/28/2024','7:00 PM','6230323','Stereophonic-5-28-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','5/29/2024','1:00 PM','6230333','Stereophonic-5-29-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','5/29/2024','7:00 PM','6230328','Stereophonic-5-29-2024'],['Stereophonic','John Golden Theatre','New York, NY','Thursday','5/30/2024','7:00 PM','6230338','Stereophonic-5-30-2024'],['Stereophonic','John Golden Theatre','New York, NY','Friday','5/31/2024','7:00 PM','6230343','Stereophonic-5-31-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','6/1/2024','1:00 PM','6230382','Stereophonic-6-1-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','6/1/2024','7:00 PM','6230377','Stereophonic-6-1-2024'],['Stereophonic','John Golden Theatre','New York, NY','Sunday','6/2/2024','2:00 PM','6230352','Stereophonic-6-2-2024'],['Stereophonic','John Golden Theatre','New York, NY','Tuesday','6/4/2024','7:00 PM','6230356','Stereophonic-6-4-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','6/5/2024','1:00 PM','6230364','Stereophonic-6-5-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','6/5/2024','7:00 PM','6230360','Stereophonic-6-5-2024'],['Stereophonic','John Golden Theatre','New York, NY','Thursday','6/6/2024','7:00 PM','6230368','Stereophonic-6-6-2024'],['Stereophonic','John Golden Theatre','New York, NY','Friday','6/7/2024','7:00 PM','6230373','Stereophonic-6-7-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','6/8/2024','1:00 PM','6230383','Stereophonic-6-8-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','6/8/2024','7:00 PM','6230378','Stereophonic-6-8-2024'],['Stereophonic','John Golden Theatre','New York, NY','Sunday','6/9/2024','2:00 PM','6230353','Stereophonic-6-9-2024'],['Stereophonic','John Golden Theatre','New York, NY','Tuesday','6/11/2024','7:00 PM','6230357','Stereophonic-6-11-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','6/12/2024','1:00 PM','6230365','Stereophonic-6-12-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','6/12/2024','7:00 PM','6230361','Stereophonic-6-12-2024'],['Stereophonic','John Golden Theatre','New York, NY','Thursday','6/13/2024','7:00 PM','6230369','Stereophonic-6-13-2024'],['Stereophonic','John Golden Theatre','New York, NY','Friday','6/14/2024','7:00 PM','6230374','Stereophonic-6-14-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','6/15/2024','1:00 PM','6230384','Stereophonic-6-15-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','6/15/2024','7:00 PM','6230379','Stereophonic-6-15-2024'],['Stereophonic','John Golden Theatre','New York, NY','Tuesday','6/18/2024','7:00 PM','6230358','Stereophonic-6-18-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','6/19/2024','1:00 PM','6230366','Stereophonic-6-19-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','6/19/2024','7:00 PM','6230362','Stereophonic-6-19-2024'],['Stereophonic','John Golden Theatre','New York, NY','Thursday','6/20/2024','7:00 PM','6230370','Stereophonic-6-20-2024'],['Stereophonic','John Golden Theatre','New York, NY','Friday','6/21/2024','7:00 PM','6230375','Stereophonic-6-21-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','6/22/2024','1:00 PM','6230385','Stereophonic-6-22-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','6/22/2024','7:00 PM','6230380','Stereophonic-6-22-2024'],['Stereophonic','John Golden Theatre','New York, NY','Sunday','6/23/2024','2:00 PM','6230354','Stereophonic-6-23-2024'],['Stereophonic','John Golden Theatre','New York, NY','Tuesday','6/25/2024','7:00 PM','6230359','Stereophonic-6-25-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','6/26/2024','1:00 PM','6230367','Stereophonic-6-26-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','6/26/2024','7:00 PM','6230363','Stereophonic-6-26-2024'],['Stereophonic','John Golden Theatre','New York, NY','Thursday','6/27/2024','7:00 PM','6230372','Stereophonic-6-27-2024'],['Stereophonic','John Golden Theatre','New York, NY','Friday','6/28/2024','7:00 PM','6230376','Stereophonic-6-28-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','6/29/2024','1:00 PM','6230386','Stereophonic-6-29-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','6/29/2024','7:00 PM','6230381','Stereophonic-6-29-2024'],['Stereophonic','John Golden Theatre','New York, NY','Sunday','6/30/2024','2:00 PM','6230355','Stereophonic-6-30-2024'],['Stereophonic','John Golden Theatre','New York, NY','Monday','7/1/2024','7:00 PM','6230387','Stereophonic-7-1-2024'],['Stereophonic','John Golden Theatre','New York, NY','Tuesday','7/2/2024','7:00 PM','6230388','Stereophonic-7-2-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','7/3/2024','1:00 PM','6230390','Stereophonic-7-3-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','7/3/2024','7:00 PM','6230389','Stereophonic-7-3-2024'],['Stereophonic','John Golden Theatre','New York, NY','Friday','7/5/2024','7:00 PM','6230391','Stereophonic-7-5-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','7/6/2024','1:00 PM','6230393','Stereophonic-7-6-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','7/6/2024','7:00 PM','6230392','Stereophonic-7-6-2024'],['Stereophonic','John Golden Theatre','New York, NY','Sunday','7/7/2024','2:00 PM','6230394','Stereophonic-7-7-2024'],['Stereophonic','John Golden Theatre','New York, NY','Tuesday','7/9/2024','7:00 PM','6399356','Stereophonic-7-9-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','7/10/2024','1:00 PM','6399364','Stereophonic-7-10-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','7/10/2024','7:00 PM','6399360','Stereophonic-7-10-2024'],['Stereophonic','John Golden Theatre','New York, NY','Thursday','7/11/2024','7:00 PM','6399369','Stereophonic-7-11-2024'],['Stereophonic','John Golden Theatre','New York, NY','Friday','7/12/2024','7:00 PM','6399372','Stereophonic-7-12-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','7/13/2024','1:00 PM','6399379','Stereophonic-7-13-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','7/13/2024','7:00 PM','6399375','Stereophonic-7-13-2024'],['Stereophonic','John Golden Theatre','New York, NY','Sunday','7/14/2024','2:00 PM','6399353','Stereophonic-7-14-2024'],['Stereophonic','John Golden Theatre','New York, NY','Tuesday','7/16/2024','7:00 PM','6399357','Stereophonic-7-16-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','7/17/2024','1:00 PM','6399365','Stereophonic-7-17-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','7/17/2024','7:00 PM','6399361','Stereophonic-7-17-2024'],['Stereophonic','John Golden Theatre','New York, NY','Thursday','7/18/2024','7:00 PM','6399370','Stereophonic-7-18-2024'],['Stereophonic','John Golden Theatre','New York, NY','Friday','7/19/2024','7:00 PM','6399373','Stereophonic-7-19-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','7/20/2024','1:00 PM','6399380','Stereophonic-7-20-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','7/20/2024','7:00 PM','6399376','Stereophonic-7-20-2024'],['Stereophonic','John Golden Theatre','New York, NY','Sunday','7/21/2024','2:00 PM','6399354','Stereophonic-7-21-2024'],['Stereophonic','John Golden Theatre','New York, NY','Tuesday','7/23/2024','7:00 PM','6399358','Stereophonic-7-23-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','7/24/2024','1:00 PM','6399366','Stereophonic-7-24-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','7/24/2024','7:00 PM','6399362','Stereophonic-7-24-2024'],['Stereophonic','John Golden Theatre','New York, NY','Thursday','7/25/2024','7:00 PM','6399371','Stereophonic-7-25-2024'],['Stereophonic','John Golden Theatre','New York, NY','Friday','7/26/2024','7:00 PM','6399374','Stereophonic-7-26-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','7/27/2024','1:00 PM','6399381','Stereophonic-7-27-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','7/27/2024','7:00 PM','6399378','Stereophonic-7-27-2024'],['Stereophonic','John Golden Theatre','New York, NY','Sunday','7/28/2024','2:00 PM','6399355','Stereophonic-7-28-2024'],['Stereophonic','John Golden Theatre','New York, NY','Tuesday','7/30/2024','7:00 PM','6399359','Stereophonic-7-30-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','7/31/2024','1:00 PM','6399367','Stereophonic-7-31-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','7/31/2024','7:00 PM','6399363','Stereophonic-7-31-2024'],['Stereophonic','John Golden Theatre','New York, NY','Thursday','8/1/2024','7:00 PM','6399391','Stereophonic-8-1-2024'],['Stereophonic','John Golden Theatre','New York, NY','Friday','8/2/2024','7:00 PM','6399394','Stereophonic-8-2-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','8/3/2024','1:00 PM','6399400','Stereophonic-8-3-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','8/3/2024','7:00 PM','6399397','Stereophonic-8-3-2024'],['Stereophonic','John Golden Theatre','New York, NY','Sunday','8/4/2024','2:00 PM','6399382','Stereophonic-8-4-2024'],['Stereophonic','John Golden Theatre','New York, NY','Tuesday','8/6/2024','7:00 PM','6399385','Stereophonic-8-6-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','8/7/2024','1:00 PM','6399389','Stereophonic-8-7-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','8/7/2024','7:00 PM','6399387','Stereophonic-8-7-2024'],['Stereophonic','John Golden Theatre','New York, NY','Thursday','8/8/2024','7:00 PM','6399392','Stereophonic-8-8-2024'],['Stereophonic','John Golden Theatre','New York, NY','Friday','8/9/2024','7:00 PM','6399395','Stereophonic-8-9-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','8/10/2024','1:00 PM','6399401','Stereophonic-8-10-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','8/10/2024','7:00 PM','6399398','Stereophonic-8-10-2024'],['Stereophonic','John Golden Theatre','New York, NY','Sunday','8/11/2024','2:00 PM','6399383','Stereophonic-8-11-2024'],['Stereophonic','John Golden Theatre','New York, NY','Tuesday','8/13/2024','7:00 PM','6399386','Stereophonic-8-13-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','8/14/2024','1:00 PM','6399390','Stereophonic-8-14-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','8/14/2024','7:00 PM','6399388','Stereophonic-8-14-2024'],['Stereophonic','John Golden Theatre','New York, NY','Thursday','8/15/2024','7:00 PM','6399393','Stereophonic-8-15-2024'],['Stereophonic','John Golden Theatre','New York, NY','Friday','8/16/2024','7:00 PM','6399396','Stereophonic-8-16-2024'],['Stereophonic','John Golden Theatre','New York, NY','Saturday','8/17/2024','1:00 PM','6399402','Stereophonic-8-17-2024']],'John Golden Theatre','http://www.ticketnetwork.com/ticket/John-Golden-Theatre-events.aspx');